This commit is contained in:
CortexCore
2025-03-03 18:43:55 +08:00
parent 54f40090c9
commit 4402ae533b
32 changed files with 337 additions and 73 deletions

24
Src/Bullet/Bullet.cs Normal file
View File

@@ -0,0 +1,24 @@
using System;
using System.Collections;
using System.Collections.Generic;
using BITKit;
using Unity.Mathematics;
using System.IO;
namespace BITFALL
{
public record BulletData
{
public uint Token;
public int Initiator;
public float3 Position;
public quaternion Rotation;
public float3 Forward;
public float CreateTime;
public int InitialForce;
public int StartSpeed;
public int MaxDamage;
public int InitialDamage;
public ulong AddressId;
}
}

11
Src/Bullet/Bullet.cs.meta Normal file
View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 48665da91ed0d8240a9829f9ace702e1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,7 @@
namespace BITFALL.Bullet
{
public interface IBulletService
{
void Spawn(BulletData bulletData);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 94dd252f8020cb148b1c2ac32e2aae71
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,17 @@
{
"name": "Project.B.Bullet",
"rootNamespace": "",
"references": [
"GUID:14fe60d984bf9f84eac55c6ea033a8f4",
"GUID:d8b63aba1907145bea998dd612889d6b"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": true
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fa168fa3b467b4245bd3ceb2dac420b4
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: