1 /**
2 
3 
4 Copyright:
5 Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur.  
6 Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md)  
7 Copyright (c) 2017-2018 Godot-D contributors  
8 
9 License: $(LINK2 https://opensource.org/licenses/MIT, MIT License)
10 
11 
12 */
13 module godot.ip_unix;
14 import std.meta : AliasSeq, staticIndexOf;
15 import std.traits : Unqual;
16 import godot.d.traits;
17 import godot.core;
18 import godot.c;
19 import godot.d.bind;
20 import godot.d.reference;
21 import godot.globalenums;
22 import godot.object;
23 import godot.ip;
24 /**
25 
26 */
27 @GodotBaseClass struct IP_Unix
28 {
29 	package(godot) enum string _GODOT_internal_name = "IP_Unix";
30 public:
31 @nogc nothrow:
32 	union { /** */ godot_object _godot_object; /** */ IPSingleton _GODOT_base; }
33 	alias _GODOT_base this;
34 	alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses);
35 	package(godot) __gshared bool _classBindingInitialized = false;
36 	package(godot) static struct GDNativeClassBinding
37 	{
38 		__gshared:
39 	}
40 	/// 
41 	pragma(inline, true) bool opEquals(in IP_Unix other) const
42 	{ return _godot_object.ptr is other._godot_object.ptr; }
43 	/// 
44 	pragma(inline, true) typeof(null) opAssign(typeof(null) n)
45 	{ _godot_object.ptr = n; return null; }
46 	/// 
47 	pragma(inline, true) bool opEquals(typeof(null) n) const
48 	{ return _godot_object.ptr is n; }
49 	/// 
50 	size_t toHash() const @trusted { return cast(size_t)_godot_object.ptr; }
51 	mixin baseCasts;
52 	/// Construct a new instance of IP_Unix.
53 	/// Note: use `memnew!IP_Unix` instead.
54 	static IP_Unix _new()
55 	{
56 		static godot_class_constructor constructor;
57 		if(constructor is null) constructor = _godot_api.godot_get_class_constructor("IP_Unix");
58 		if(constructor is null) return typeof(this).init;
59 		return cast(IP_Unix)(constructor());
60 	}
61 	@disable new(size_t s);
62 }